/*
* Copyright (C) 2005-2013 University of Sydney
*
* Licensed under the GNU License, Version 3.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/gpl-3.0.txt
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/

/**
* brief description of file
*
* @author      Tom Murtagh
* @author      Kim Jackson
* @author      Ian Johnson   <ian.johnson@sydney.edu.au>
* @author      Stephen White   <stephen.white@sydney.edu.au>
* @author      Artem Osmakov   <artem.osmakov@sydney.edu.au>
* @copyright   (C) 2005-2013 University of Sydney
* @link        http://Sydney.edu.au/Heurist
* @version     3.1.0
* @license     http://www.gnu.org/licenses/gpl-3.0.txt GNU License 3.0
* @package     Heurist academic knowledge management system
* @subpackage  !!!subpackagename for file such as Administration, Search, Edit, Application, Library
*/


* {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}
body {
	overflow: hidden;
}
body, #tt, #tb, #maintable {
	border: 0;
	margin: 0;
	padding: 0;
}
#tt, #tb, #maintable { border-spacing: 0; border-collapse: collapse; }
#tt tr, #tt td, #tb tr, #tb td, #maintable tr, #maintable td { padding: 0; }
#tb tr, #tb td { border: 0; }
#tb { margin-top: 6px; }
#tb input { margin: 0; padding: 0; }
#tb { width: 100%; }

#tb2 { width: 200px; }

#tt { width: 100%; height: 100%; }

#tt1 {
	height: 26px;
	background-color: #660000;
}
#tt2 {
	text-align: right;
	height: 5px;
	background-color: #aa7f7f;
}

#side_panel {
	width: 270px;
	max-width: 10%;
	vertical-align: top;
}

#middle { width: 5px; }

#ahome { display: block; padding: 5px 0 5px 0; }
a img { border: 0; }


#qs {
	background-color: #E5E5E5;
	width: 270px;
	max-width: 100%;
}
#qs2 {
	padding: 8px 10px;
}


.lb {
	vertical-align: bottom;
}

#qs1 {
	font-weight: bold;
	padding-bottom: 10px;
}
#q { width: 200px; max-width: 80%; }


.smallgr, .smallgr * {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-style: normal;
	color: #008000;
}

#i_adv, #i_custom, #i_export {
	border: 0;
	padding: 0;
	margin: 0;
	width: 270px;
	max-width: 100%;
}
#i_adv {height: 180px; }
#i_custom {height: 300px; }
#i_export {height: 100px; }


.ph {
        padding: 4px 0;
        margin: 5px 0 0 0;
        background-color: #f7f7f7;
        border-top: 2px solid #c0c0c0;
	cursor: pointer;
}
.ph img { vertical-align: bottom; }

.flicker .ph { background-color: #e0e0e0; }


.hide_on_collapse { display: inline; position: static; visibility: visible;}
.show_on_collapse { display: none; position: absolute; visibility: hidden; }
.collapsed .hide_on_collapse { display: none; position: absolute; visibility: hidden; }
.collapsed .show_on_collapse { display: inline; position: static; visibility: visible;}

iframe.hide_on_collapse { display: block; position: static; visibility: visible; }
iframe.show_on_collapse { display: block; position: absolute; visibility: hidden; }
.collapsed iframe.hide_on_collapse { position: absolute; visibility: hidden; }
.collapsed iframe.show_on_collapse { position: static; visibility: visible; }


.hide_on_collapse_dn { display: inline; }
.show_on_collapse_dn { display: none; }
.collapsed .hide_on_collapse_dn { display: none; }
.collapsed .show_on_collapse_dn { display: inline; }


#main_row td {
	border-top: 0;
	padding: 5px;
	border-bottom-width: 0; border-right-width: 0;
}



#maintable { width: 100%; height: 100%; border-collapse: separate; }

#tab_row td {
	height: 25px;

	background: transparent;

	vertical-align: bottom;
	padding: 0 3px;

	border-width: 0;
	border-bottom-width: 2px;
	-moz-border-radius: 8px 8px 0 0;

	cursor: pointer;
}
#tab_row td.bookmark, #tab_row td.biblio, #tab_row td.web {
	width: 120px;
}
#tab_row td.dummy { cursor: auto; }


.ib {	/* inset border */
	width: 112px;

	margin: 3px 3px 0 0;
	padding: 4px;

	border: 1px solid black;
	border-bottom-width: 0;
	-moz-border-radius: 8px 8px 0 0;

	display: block;
}
.ib * { vertical-align: top; }


.bookmark_selected tr td { border: 2px solid #8e1e1e; background-color: #F7F0E7; }
.bookmark .ib { border-color: #8e1e1e; background-color: #F7F0E7; }
.bookmark_selected #tab_row .bookmark { font-weight: bold; border-width: 2px; border-bottom-width: 0; background-color: #F7F0E7; }
#tab_row .bookmark { color: #8e1e1e; }

.biblio_selected tr td { border: 2px solid #444499; background-color: #F3F3F8; }
.biblio_selected #tab_row .biblio { font-weight: bold; border-width: 2px; border-bottom: 0; background-color: #F3F3F8; }
.biblio .ib { border-color: #444499; background-color: #F3F3F8; }
#tab_row .biblio { color: #444499; }

.web_selected tr td { border: 2px solid #e7bb00; background-color: #FDFAEF; }
.web_selected #tab_row .web { font-weight: bold; border-width: 2px; border-bottom: 0; background-color: #FDFAEF; }
.web .ib { border-color: #e7bb00; background-color: #FDFAEF; }
#tab_row .web { color: #e7bb00; }

.disc_selected tr td { border: 2px solid #e7bb00; background-color: #FDFAEF; }
.disc_selected #tab_row .disc { font-weight: bold; border-width: 2px; border-bottom: 0; background-color: #FDFAEF; }
.disc .ib { border-color: #e7bb00; background-color: #FDFAEF; }
#tab_row .disc { color: #e7bb00; }

.reln_selected tr td { border: 2px solid #53740e; background-color: #F4F6EF; }
.reln_selected #tab_row .reln { font-weight: bold; border-width: 2px; border-bottom: 0; background-color: #F4F6EF; }
.reln .ib { border-color: #53740e; background-color: #F4F6EF; }
#tab_row .reln { color: #53740e; }


.bookmark_selected #tab_row .bookmark .ib,
.biblio_selected #tab_row .biblio .ib,
.web_selected #tab_row .web .ib,
.disc_selected #tab_row .disc .ib,
.reln_selected #tab_row .reln .ib
 { border: 0; margin: 3px 3px 3px 0; }

.bookmark_only, .biblio_only, .web_only, .disc_only, .reln_only { position: absolute; visibility: hidden; }
.bookmark_selected .bookmark_only,
.biblio_selected .biblio_only,
.web_selected .web_only,
.disc_selected .disc_only,
.reln_selected .reln_only
{ position: static; visibility: visible; }

.bookmark_only_dn, .biblio_only_dn, .disc_only_dn, .reln_only_dn { display: none; }
.bookmark_selected .bookmark_only_dn, .biblio_selected .biblio_only_dn, .disc_selected .disc_only_dn, .reln_selected .reln_only_dn { display: inline; }


#tsp { height: 10px; border: 0; background-color: transparent; }

#topbar { height: 20px; }
#bottombar { height: 30px; }
#topbar td, #bottombar td { border-right: 0; border-bottom: 0; border-top: 0; }
#topbar td * { vertical-align: middle; }
#bottombar td * { vertical-align: top; }

#topbar span { position: relative; top: 4px; }

#all_flag { padding: 0; vertical-align: middle; }

#i_search, #i_action { width: 1px; height: 1px; left: 0; top: 0; position: absolute; visibility: hidden; }

#results {
	border: 4px solid white;
	border-width: 4px 0;
	overflow: auto;
	visibility: hidden;
}

/*
#qlb { vertical-align: bottom; }
#qlb3 { cursor: pointer; }
#qlb3 img { vertical-align: top; }

#ql { vertical-align: bottom; visibility: hidden; }
#ql1 { z-index: 100; position: absolute; width: 1px; height: 1px; }
#ql2 { position: relative; border: 1px solid black; padding: 2px; left: -3px; top: 15px; width: 140px; height: 300px; background-color: #F0F0F0; }
#ql2 p { margin: 6px 0 0 0; }

#i_ql { height: 100%; width: 100%; margin: 0; border: 0; padding: 0; }
*/

#qlc { float: right; width: 160px; position: relative; top: 10px; }
#qlb { position: absolute; font-weight: bold; cursor: pointer; z-index: 10; }
#qlb img { vertical-align: middle; }
#ql { position: absolute; visibility: hidden; width: 130px; height: 350px; z-index: 10; }
#i_ql { background-color: white; height: 100%; width: 100%; margin: 0; border: 1px solid gray; padding: 2px; position: relative; top: 20px; }


.nav .active { font-weight: bold; text-decoration: none; }
#rnav_box { position: absolute; width: 0; left: 100%; }
#sults_nav { position: relative; width: 300px; top: 10px; left: -305px; text-align: right; }

span#prev_page, span#next_page { color: #C0C0C0; }

.result_row {	/* only display the first line of any title */
	position: relative;
	height: 20px;
	line-height: 20px;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.result_row img { vertical-align: middle; width: 16px; height: 16px; }
.result_row input { margin: 0; border: 0; vertical-align: middle; }


#missing { padding: 3px; font-weight: bold; }

.b {
	border: 1px dashed #8e1e1e;
	background-color: white;
	margin-bottom: 1px;
}

#rest { cursor: auto; }


.lb { visibility: hidden; }
body.show_lightbulbs .lb { visibility: visible; }

.show_no_p .no_p { visibility: visible; }
.no_p { visibility: hidden; float: right; position: relative; left: -3px; top: 3px;  font-size: 9px; color: black; }

form { display: inline; }


.invisible { display: none; }


.password_popup {
	border: 1px solid black;
	background-color: #f0f0b0;
	padding: 6px;
	-moz-border-radius: 12px;
	position: absolute;
	display: block;

	text-decoration: none;
	color: black;
	cursor: text;

	outline: 0;
	-moz-outline: 0;
}

#st, #sa { border: 0; padding: 0; margin: 0; vertical-align: middle; }


#ao { display: none; }

.disabled_true { color: gray; }


#legend_box {
	position: absolute;
	visibility: hidden;
	border: 1px solid black;
	padding: 3px;
	background-color: white;
	width: 200px;
	z-index: 10000;
}

#legend_box_list {  }
#legend_box_list div { vertical-align: middle; line-height: 18px; height: 18px; }
#legend_box_list div img { margin-right: 5px; }
#legend_box_list .legend_show { display: auto; }
#legend_box_list .legend_hide { display: none; }
#legend_box img { width: 16px; height: 16px; }

#legend_title { font-weight: bold; }
#legend_title img { float: right; cursor: pointer; width: 12px; height: 12px; }


table#topbar_table { width: 100%; border: 0; }
table#topbar_table tr td { border: 0; padding: 0 10px; }

span.label { cursor: pointer; font-weight: bold; line-height: 16px; }
span.label img { border: 0; padding: 0; margin: 0; }
span.label:hover { text-decoration: underline; }

#both_pin_img { margin: 0 4px; width: 13px; height: 13px; }
.bookmarked { background-image: url(../images/pin-13.gif); }
.unbookmarked { background-image: url(../images/pin-13-grey.gif); cursor: pointer; }
.unbookmarked:hover { background-image: url(../images/pin-13.gif); }


#saved_stub {
	width: 0;
	height: 0;
	border: 1px solid black;
	padding: 3px;
	background-color: white;
	visibility: hidden;
	position: relative;
	top: 20px;
	z-index: 10000;

	/* these next two lines are ignored by IE, but honoured by moz etc.  What a pain. */
	width: 200px;
	height: 320px;
}
#saved_frame {
	display: block;
	visibility: hidden;
	position: absolute;
	width: 200px;
	height: 320px;
	left: -10000px;
}


#current_fave { line-height: 16px; padding-right: 10px; padding-left: 0; }
.bookmark_selected #current_fave { color: #8e1e1e; }
.biblio_selected #current_fave { color: #444499; }
